#!/usr/bin/env python
# -*- coding:utf-8 -*-
from rest_framework.pagination import PageNumberPagination


class StandardResultsSetPagination(PageNumberPagination):
    """全局分页类"""
    page_size = 3
    # 规定查询字符串中的键的名字
    page_size_query_param = 'page_size'
    max_page_size = 10




